/*
 * @Date: 2023-03-14 14:30:40
 * @LastEditTime: 2023-03-27 14:42:57
 * @FilePath: /NLK/src/router/module/tabbar.ts
 * 介绍:tabbar导航页
 */
import { RouterOption } from "../interface";
import { t } from "@@/hooks/useI18n";

const routes: Array<RouterOption> = [
  {
    name: "home",
    path: "/",
    component: () => import("@@/views/home/home.vue"),
    meta: {
      title: t("show-ye"),
      tabbar: {
        activeIcon: "icon-home",
        icon: "icon-home-o",
      },
      navbar: { show: false },
    },
  },
  {
    name: "fundManage",
    path: "/fundManage",
    component: () => import("@@/views/fundManage/fundManage.vue"),
    meta: {
      title: t("li-cai"),
      tabbar: {
        activeIcon: "icon-zi-chan",
        icon: "icon-zi-chan-o",
      },
      navbar: { show: false },
    },
  },
  {
    name: "me",
    path: "/me",
    component: () => import("@@/views/me/me.vue"),
    meta: {
      title: t("wo-de"),
      tabbar: {
        activeIcon: "icon-wode-wode",
        icon: "icon-wode",
      },
      navbar: { show: false },
    },
  },
];
export default routes;
